import request from '@/utils/request'

// 查询问题和业务关联列表
export function listQuestion_biz(query) {
  return request({
    url: '/exam/question_biz/list',
    method: 'get',
    params: query
  })
}

// 查询问题和业务关联详细
export function getQuestion_biz(id) {
  return request({
    url: '/exam/question_biz/' + id,
    method: 'get'
  })
}

// 新增问题和业务关联
export function addQuestion_biz(data) {
  return request({
    url: '/exam/question_biz',
    method: 'post',
    data: data
  })
}

// 修改问题和业务关联
export function updateQuestion_biz(data) {
  return request({
    url: '/exam/question_biz',
    method: 'put',
    data: data
  })
}

// 删除问题和业务关联
export function delQuestion_biz(id) {
  return request({
    url: '/exam/question_biz/' + id,
    method: 'delete'
  })
}
